Skip to main content

Certificate profile

To describe or list a certificate profile:

smctl certificate profile <subcommand> <flag>
Tabela 1. Subcommands for certificate profiles

Shortcut

Subcommand

Description

desc

describe

Describe a certificate profile.

ls

list

List certificate profiles.


The certificate profiles subcommands support these flags:

Tabela 2. Flags for listing and describing certificate profiles

Shortcut

Flags

Description

-f

--filter stringToString

Filters based on field=value, supported fields(name). The default is []. (List subcommand only)

Format:

--filter="<value>"

--account-id string

Account ID for the user. (Describe and list subcommands)

Format:

--account-id="<value>"

--page int

Page number. Default is –1, which lists all pages. (List subcommands only)

--size int

Page size. Default is 100. (List subcommands only)

-h

--help

Help for certificate profiles. (Describe and list subcommands)


Examples

Description: Describe a certificate profile for a given certificate profile ID.

Command: 

smctl certificate profile describe <certificate-profile-id>

Command sample:

smctl certificate profile describe 047c9ab5-2130-4425-a015-59f7c898cd33

Description: List all certificate profiles for a particular filter name.

Command: 

smctl certificate profile list --filter name=<certificate profile name>

Command sample:

smctl certificate profile ls --filter name=ca-cert-profile-test