Enter the following:
Note: The help option lists all command options:
./nspdeployerctl secret help
Note: The describe option lists all secrets and the contained parameters:
./nspdeployerctl secret describe
# ./nspdeployerctl secret -s newsecret -n namespace -v parameter=value create ↵
where
newsecret is the new secret name, which can include only:
namespace is the name of the restricted Kubernetes namespace
parameter is the name of the parameter to set in the secret
value is the parameter value to set
The newsecret secret is created, and the following message is displayed:
secret/newsecret created
The secret holds a private key and a public key.
|