package
0.28.2
Repository: https://github.com/smallstep/cli.git
Documentation: pkg.go.dev

# Functions

FingerprintCertificateModeFlag returns a flag for configuring the fingerprinting mode.
FingerprintFormatFlag returns a flag for configuring the fingerprint format.
GetTemplateData parses the set and set-file flags and returns a map to be used in certificate templates.
ParseCaURL gets and parses the ca-url from the command context.
ParseCaURLIfExists gets and parses the ca-url from the command context, if one is present.
ParseFingerprintFormat gets the fingerprint encoding from the format flag.
ParseTemplateData parses the set and set-file flags and returns a json message to be used in certificate templates.
ParseTimeDuration parses the not-before and not-after flags as a timeDuration.
ParseTimeOrDuration is a helper that returns the time or the current time with an extra duration.

# Variables

AdminCert is a cli.Flag used to pass the x5c header certificate for a JWT.
AdminKey is a cli.Flag used to pass the private key (corresponding to the x5c-cert) that is used to sign the token.
AdminPasswordFileWithAlias is a cli.Flag used to pass the password to use when generating admin credentials.
AdminPasswordFileNoAlias is a cli.Flag used to pass the password to use when generating admin credentials.
AdminProvisioner is a cli.Flag used to pass the CA Admin provisioner to use.
AdminSubject is a cli.Flag used to pass the admin subject to use when generating admin credentials.
No description provided by the author
CaConfig is a cli.Flag used to pass the CA configuration file.
CaURL is a cli.Flag used to pass the CA url.
CertNotAfter is a cli.Flag used to pass the end period of the certificate validity.
CertNotBefore is a cli.Flag used to pass the start period of the certificate validity.
No description provided by the author
Confirmation is a cli.Flag used to add a confirmation claim in the token.
ConfirmationFile is a cli.Flag used to add a confirmation claim in the tokens.
No description provided by the author
Context is a cli.Flag used to select a a context name.
ContextAuthority is a cli.Flag used to select a context authority name.
ContextProfile is a cli.Flag to select a context profile name.
Curve is the flag to se the key curve.
DryRun is a cli.Flag used to avoid the writing of files.
EABKeyID is a cli.Flag that points to an ACME EAB Key ID.
EABReference is a cli.Flag that points to an ACME EAB Key Reference.
Force is a cli.Flag used to overwrite files.
HiddenNoContext is a cli.Flag that prevents context configuration from being applied for a given command.
Identity is a cli.Flag used to be able to define the identity argument in defaults.json.
Insecure is the flag required on insecure operations.
InsecureHidden is the hidden flag required on insecure operations.
K8sSATokenPathFlag is an optional flag that allows modification of the kubernetes service account token path.
No description provided by the author
KTY is the flag to set the key type.
Limit is a cli.Flag used to limit the number of entities returned in API requests.
NebulaCert is a cli.Flag used to pass the nebula certificate used as the nebula header certificate in a JWT.
NebulaKey is a cli.Flag used to pass the private key (corresponding to the nebula-cert) that is used to sign the token.
NoPager is a cli.Flag used to disable usage of $PAGER for paging purposes.
NoPassword is a cli.Flag used to avoid using a password to encrypt private keys.
NotAfter is a cli.Flag used to pass the end period of the certificate validity.
NotBefore is a cli.Flag used to pass the start period of the certificate validity.
Offline is a cli.Flag used to activate the offline flow.
PasswordFile is a cli.Flag used to pass a file to encrypt or decrypt a private key.
Provisioner is a cli.Flag used to pass the CA provisioner to use.
ProvisionerPasswordFile is a cli.Flag used to pass the password file to decrypt the generating key.
ProvisionerPasswordFileWithAlias is a cli.Flag that allows multiple alias flag names for the ProvisionerPasswordFile.
RedirectURL is a cli.Flag used to pass a url to redirect after an OAuth flow finishes..
Root is a cli.Flag used to pass the path of the root certificate to use.
ServerName is a cli.Flag used to set the TLS Server Name Indication in request to a server.
Size is the flag to set the key size.
SSHPOPCert is a cli.Flag used to pass the sshpop header certificate for a JWT.
SSHPOPKey is a cli.Flag used to pass the private key (corresponding to the sshpop-cert) that is used to sign the token.
Subtle is the flag required for delicate operations.
SubtleHidden is the hidden flag required for delicate operations.
Team is a cli.Flag used to pass the team ID.
TeamAuthority is a cli.Flag used to pass the name of the authority belonging to a team.
TeamURL is a cli.Flag used to pass the team URL.
Template is a cli.Flag used to set the template file to use.
TemplateSet is a cli.Flag used to send key-value pairs to the ca.
TemplateSetFile is a cli.Flag used to send a JSON file to the CA.
Token is a cli.Flag used to pass the CA token.
X5cCert is a cli.Flag used to pass the x5c header certificate for a JWT.
X5cChain is a cli.Flag used to pass the intermediate chain certificates corresponding to the x5c-cert that is used to sign the token.
X5cInsecure is a cli.Flag used to set the JWT header x5cInsecure instead of x5c when --x5c-cert is used.
X5cKey is a cli.Flag used to pass the private key (corresponding to the x5c-cert) that is used to sign the token.
X5tCert is a cli.Flag used to pass the x5t header certificate thumbprint for a JWS or JWT.
X5tKey is a cli.Flag used to pass the private key (corresponding to the x5t-cert) that is used to sign the token.