secrets-mgr plugin
npm install anypoint-cli-secrets-mgr-plugin# Usage
``sh-session`
$ npm install -g @mulesoft/anypoint-cli-secrets-mgr-plugin
$ anypoint-cli-secrets-mgr-plugin COMMAND
running command...
$ anypoint-cli-secrets-mgr-plugin (--version|-v)
@mulesoft/anypoint-cli-secrets-mgr-plugin/0.0.1 darwin-arm64 node-v18.12.0
$ anypoint-cli-secrets-mgr-plugin --help [COMMAND]
USAGE
$ anypoint-cli-secrets-mgr-plugin COMMAND
...
# Commands
* [anypoint-cli-secrets-mgr-plugin conf [KEY] [VALUE]](#anypoint-cli-secrets-mgr-plugin-conf-key-value)anypoint-cli-secrets-mgr-plugin help [COMMAND]
* [](#anypoint-cli-secrets-mgr-plugin-help-command)anypoint-cli-secrets-mgr-plugin secrets-mgr certificate create
* anypoint-cli-secrets-mgr-plugin secrets-mgr certificate describe
* anypoint-cli-secrets-mgr-plugin secrets-mgr certificate list
* anypoint-cli-secrets-mgr-plugin secrets-mgr certificate modify
* anypoint-cli-secrets-mgr-plugin secrets-mgr certificate replace
* anypoint-cli-secrets-mgr-plugin secrets-mgr keystore create
* anypoint-cli-secrets-mgr-plugin secrets-mgr keystore describe
* anypoint-cli-secrets-mgr-plugin secrets-mgr keystore list
* anypoint-cli-secrets-mgr-plugin secrets-mgr keystore modify
* anypoint-cli-secrets-mgr-plugin secrets-mgr keystore replace
* anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group create
* anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group delete
* anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group describe
* anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group list
* anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group modify
* anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret create
* anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret describe
* anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret list
* anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret modify
* anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret replace
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context flex-gateway create
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context flex-gateway describe
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context flex-gateway list
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context flex-gateway modify
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context flex-gateway replace
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context mule create
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context mule describe
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context mule list
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context mule modify
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context mule replace
* anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context tls-context-list
* anypoint-cli-secrets-mgr-plugin secrets-mgr truststore create
* anypoint-cli-secrets-mgr-plugin secrets-mgr truststore describe
* anypoint-cli-secrets-mgr-plugin secrets-mgr truststore list
* anypoint-cli-secrets-mgr-plugin secrets-mgr truststore modify
* anypoint-cli-secrets-mgr-plugin secrets-mgr truststore replace
* anypoint-cli-secrets-mgr-plugin version
*
Manage authentication credentials in a configuration file (config.json)
`
USAGE
$ anypoint-cli-secrets-mgr-plugin conf [KEY] [VALUE] [-h] [-k
ARGUMENTS
KEY key of the config
VALUE value of the config
FLAGS
-d, --delete delete config key
-h, --help Show CLI help.
-k, --key=
-v, --value=
DESCRIPTION
Manage authentication credentials in a configuration file (config.json)
by adding and removing key value pairs. Set one key value pair per command execution.
CLI config file: /Users/nvenkatachari/Library/Preferences/oclif-nodejs/config.json
EXAMPLES
$ anypoint-cli-secrets-mgr-plugin conf username myuser
$ anypoint-cli-secrets-mgr-plugin conf password mypwd
`
Display help for anypoint-cli-secrets-mgr-plugin.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for anypoint-cli-secrets-mgr-plugin.
`
_See code: @oclif/plugin-help_
Create a new certificate secret in the specified secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate create (-t PEM -n
[--environment
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-n, --name=
-o, --output=
json
-t, --type=
DESCRIPTION
Create a new certificate secret in the specified secret group.
EXAMPLES
Create a PEM type certificate secret 'example-secret-1' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate create \
--name=example-secret-1 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--type=PEM \
--cert-file=./example-cert.pem
`
Show the details of a certificate secret. The output will not include the certificate file content.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate describe -i
--client_id
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Show the details of a certificate secret. The output will not include the certificate file content.
EXAMPLES
Show the details of a certificate secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate describe \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
List the certificate secrets in a secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate list -g
[--host
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
List the certificate secrets in a secret group.
EXAMPLES
List all the certificate secrets in a secret group with id '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate list --group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
Modify the 'name' or 'expiration date' for an existing certificate secret.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate modify -i
--client_id
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-n, --name=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--expiration-date=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Modify the 'name' or 'expiration date' for an existing certificate secret.
EXAMPLES
Modify only the name for a certificate secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with
id '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate modify \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--name=new-secret-name
`
Replace an existing certificate secret.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate replace -i
[--username
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-n, --name=
-o, --output=
json
-t, --type=
DESCRIPTION
Replace an existing certificate secret.
EXAMPLES
Replace a certificate secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr certificate replace \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--name=example-secret-1 \
--cert-file=./new-cert.pem
`
Create a new keystore secret in the specified secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore create -g
[--username
[--cert-file
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-n, --name=
-o, --output=
json
-t, --type=
DESCRIPTION
Create a new keystore secret in the specified secret group.
EXAMPLES
Create a PEM type keystore 'example-secret-1' in a secret group with id '59573b4e-cdea-4917-ac34-b047e1e94dbe'
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore create \
--name=example-secret-1 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--type=PEM \
--key-file=./key.pem \
--cert-file=./cert.pem
Create a JKS type keystore 'example-secret-2' in a secret group with id '7834534e-ghij-9213-xy32-d345e1e94fca'
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore create \
--name=example-secret-1 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--type=JKS \
--keystore-file=./keystore.jks \
--store-passphrase=store1234 \
--key-passphrase=key1234 \
--alias=alias1 \
--expiration-date=2027-01-01
`
Show the details of a keystore secret. The output will not include the keystore/key file content and the passphrase value.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore describe -i
--client_id
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Show the details of a keystore secret. The output will not include the keystore/key file content and the passphrase
value.
EXAMPLES
Show the details of a keystore secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore describe \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
List the keystore secrets in a secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore list -g
[--host
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
List the keystore secrets in a secret group.
EXAMPLES
List all the keystore secrets in a secret group with id '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore list --group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
Modify the 'name' or 'expiration date' for an existing keystore secret.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore modify -i
--client_id
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-n, --name=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--expiration-date=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Modify the 'name' or 'expiration date' for an existing keystore secret.
EXAMPLES
Modify only the name for the keystore secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with
id '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore modify \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--name=new-secret-name
`
Replace an existing keystore secret. Keystore type cannot be changed during replacement update.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore replace -i
[--password
] [--organization
[--key-file
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-n, --name=
-o, --output=
json
-t, --type=
--algorithm=
the PEM type keystore.
--alias=
keystore.
--bearer=
--capath-file=
JKS/PKCS12/JCEKS type keystore.
--cert-file=
keystore.
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--expiration-date=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--key-file=
keystore.
--key-passphrase=
optional for the PEM type keystore.
--keystore-file=
--organization=
--password=
--store-passphrase=
keystore.
--username=
DESCRIPTION
Replace an existing keystore secret. Keystore type cannot be changed during replacement update.
EXAMPLES
Replace a keystore secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr keystore replace \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--name=example-secret-1 \
--type=PEM \
--key-file=./new-key.pem \
--cert-file=./new-cert.pem \
--expiration-date=2027-01-01
`
Create a new secret group in the configured/specified organization and environment.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group create -n
[--host
FLAGS
-h, --help Show CLI help.
-n, --name=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--downloadable Indicates the secret group is downloadable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Create a new secret group in the configured/specified organization and environment.
EXAMPLES
Create a secret group named 'example-group-1' in the configured organization and environment.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group create --name=example-group-1
Create a secret group named 'example-group-2' with downloadable option enabled in the configured organization and
environment.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group create --name=example-group-2 --downloadable
Create a secret group named 'example-group-3' in the specified organization and environment.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group create --name=example-group-3 \
--organization=Salesforce --environment=Design
`
Delete a secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group delete -i
[--host
FLAGS
-h, --help Show CLI help.
-i, --id=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Delete a secret group.
EXAMPLES
Delete a secret group whose id is '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group delete --id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
Show the details of a secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group describe -i
[--host
FLAGS
-h, --help Show CLI help.
-i, --id=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Show the details of a secret group.
EXAMPLES
Show the details of the secret group whose id is '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group describe --id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
List the secret groups in the configured/specified organization and environment.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group list [--password
]] [--client_secret
FLAGS
-h, --help Show CLI help.
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
List the secret groups in the configured/specified organization and environment.
EXAMPLES
List the secret groups in the configured organization and environment.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group list
List the secret groups in the specified organization and environment.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group list --organization=Salesforce --environment=Design
`
Modify an existing secret group in the configured/specified organization and environment.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group modify -i
[--host
FLAGS
-h, --help Show CLI help.
-i, --id=
-n, --name=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--[no-]downloadable Indicate the secret group is downloadable. To indicate the secret group is not
downloadable, prefix with "no-"
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Modify an existing secret group in the configured/specified organization and environment.
EXAMPLES
Modify only the name of the secret group with id 0bd52420-f252-4c05-bae2-1951efd816cb.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group modify --id=0bd52420-f252-4c05-bae2-1951efd816cb \
--name=example-group-1-update
Enable the downloadable option for the secret group with id 0bd52420-f252-4c05-bae2-1951efd816cb.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group modify --id=0bd52420-f252-4c05-bae2-1951efd816cb \
--downloadable
Disable the downloadable option for the secret group with id 0bd52420-f252-4c05-bae2-1951efd816cb.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr secret-group modify --id=0bd52420-f252-4c05-bae2-1951efd816cb \
--no-downloadable
`
Create a new shared secret in the specified secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret create -g
Blob|UsernamePassword|SymmetricKey|S3Credential [--password
[--client_secret
--secret-access-key
[-o
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-n, --name=
-o, --output=
json
-t, --type=
--access-key-id=
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--content=
--environment=
--expiration-date=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--key=
--organization=
--password=
--secret-access-key=
--secret-password=
--secret-username=
--username=
DESCRIPTION
Create a new shared secret in the specified secret group.
EXAMPLES
Create a shared secret 'example-secret-1' of type 'UsernamePassword' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret create \
--name=example-secret-1 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--type=UsernamePassword \
--secret-username=exampleUser \
--secret-password=examplePwd \
--expiration-date=2027-01-01
Create a shared secret 'example-secret-2' of type 'Blob' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret create \
--name=example-secret-2 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--type=Blob \
--content='example blob content'
`
Show the details of a shared secret. The output will not include any sensitive secret material.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret describe -i
--client_id
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Show the details of a shared secret. The output will not include any sensitive secret material.
EXAMPLES
Show the details of a shared secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret describe \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
List all the shared secrets in a secret group.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret list -g
[--host
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
List all the shared secrets in a secret group.
EXAMPLES
List all the shared secrets in a secret group with id '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret list --group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe
`
Modify the 'name' or 'expiration date' for a shared secret.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret modify -i
--client_id
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-n, --name=
-o, --output=
json
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=
--expiration-date=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=
--password=
--username=
DESCRIPTION
Modify the 'name' or 'expiration date' for a shared secret.
EXAMPLES
Modify only the name for a shared secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' in a secret group with id
'59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret modify \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--name=new-secret-name
`
Replace an existing shared secret. Secret type cannot be changed during replacement update.
`
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret replace -i
Blob|UsernamePassword|SymmetricKey|S3Credential [--password
[--client_secret
--secret-access-key
[-o
FLAGS
-g, --group-id=
-h, --help Show CLI help.
-i, --id=
-n, --name=
-o, --output=
json
-t, --type=
--access-key-id=
--bearer=
--client_id=
--client_secret=
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--content=
--environment=
--expiration-date=
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--key=
--organization=
--password=
--secret-access-key=
--secret-password=
--secret-username=
--username=
DESCRIPTION
Replace an existing shared secret. Secret type cannot be changed during replacement update.
EXAMPLES
Replace an existing shared secret with id '6fdfa612-6966-4a50-9222-7e31d7480979' and type 'UsernamePassword' in a
secret group with id '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret replace \
--id=6fdfa612-6966-4a50-9222-7e31d7480979 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--name=example-secret-1 \
--type=UsernamePassword \
--secret-username=newUser \
--secret-password=newPwd \
--expiration-date=2028-01-01
Replace an existing shared secret with id '905fcc78-412f-4980-bbb5-0555b9fbab06' and type 'Blob' in a secret group
with id '59573b4e-cdea-4917-ac34-b047e1e94dbe'.
$ anypoint-cli-secrets-mgr-plugin secrets-mgr shared-secret replace \
--id=905fcc78-412f-4980-bbb5-0555b9fbab06 \
--group-id=59573b4e-cdea-4917-ac34-b047e1e94dbe \
--name=example-secret-2 \
--type=Blob \
--content='new blob content'
`
Create a new Flex Gateway TLS context secret in the specified secret group.
``
USAGE
$ anypoint-cli-secrets-mgr-plugin secrets-mgr tls-context flex-gateway create -g
--client_id
TLSv1.1|TLSv1.2|TLSv1.3] [--max-tls-version TLSv1.1|TLSv1.2|TLSv1.3] [--keystore-id
[-o
FLAGS
-c, --cipher=
Cipher to be applied for the specified TLS version range. If no cipher is specified then the default ciphers for the
specified TLS version will be applied. For TLSv1.1, there are no default ciphers, hence atleast one TLSv1.1
compatible cipher must be specified, if TLSv1.1 is in the specified TLS version range. For TLSv1.3, default ciphers
will always apply and cannot be explicitly specified. Please see the Flex Gateway online documentation
[https://docs.mulesoft.com/gateway/latest/flex-conn-tls-config#select-ciphers] for more details.
Following are the acceptable ciphers for TLSv1.2. The Ciphers tagged with "*" are the default ciphers:
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 [*]
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 [*]
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 [*]
TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 [*]
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 [*]
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 [*]
TLS_RSA_WITH_AES_128_GCM_SHA256
TLS_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_PSK_WITH_AES_128_CBC_SHA
TLS_PSK_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_NULL_SHA
Following are the acceptable ciphers for TLSv1.1:
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_PSK_WITH_AES_128_CBC_SHA
TLS_PSK_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_NULL_SHA
-g, --group-id=
(required) Secret group id.
-h, --help
Show CLI help.
-n, --name=
(required) Name for the secret.
-o, --output=
[default: table] Format for commands output. Supported values are table (default) and json
--alpn-protocol=
[default: h2,http/1.1] Alpn protocol. If multiple values are specified, then the preferred order will be from the
left to right.
--bearer=
Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=
Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=
Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics
collect metrics. You can define this in the COLLECT_METRICS environment variable.
--enable-client-cert-validation
Enable client certificate validation.
--environment=
Envir