Upgrade to the latest version of Portworx Enterprise for continued support. Documentation for the latest version of Portworx Enterprise can be found here.
pxctl credentials
pxctl credentials
pxctl credentials
Description
Manage credentials for cloud providerspxctl credentials create
pxctl credentials create <required-argument>
Description
Create a credential for cloud providersExample
/opt/pwx/bin/pxctl cred create [flags] <name>
Flags
Flag | Description |
---|---|
|
Cloud provider type [s3, azure, google, nfs] |
|
|
|
|
|
|
|
Endpoint of the S3 servers, in comma separated host:port format |
|
|
|
Storage class type [STANDARD, STANDARD_IA] |
|
Optional, use instance IAM for credentials, current support only for s3(ec2 IAM) and azure |
|
Optional pre-created bucket name |
|
optional, required for virtual-host-style access |
|
optional, currently supported for s3 only, requires cluster wide proxy(under cluster options) |
|
|
|
|
|
|
|
|
|
Passphrase to be used for encrypting data in the cloudsnaps |
|
|
|
|
|
sub-path to use in mount |
|
optional mount options for mounting the mount |
|
optional nfs IO timeout in seconds Default value: 5 |
pxctl credentials update
pxctl credentials update <required-argument>
Description
Provide the arguments that need to be updated in the existing credentialsExample
/opt/pwx/bin/pxctl cred update [flags] <name>
Flags
Flag | Description |
---|---|
|
Cloud provider type [s3, azure, google] |
|
New name for the credential |
|
|
|
|
|
|
|
Endpoint of the S3 servers, in comma separated host:port format |
|
|
|
Storage class type [STANDARD, STANDARD_IA] |
|
Optional, use instance IAM for credentials, current support only for s3(ec2 IAM) and azure |
|
Optional pre-created bucket name |
|
optional, required for virtual-host-style access |
|
optional, currently supported for s3 only, requires cluster wide proxy(under cluster options) |
|
|
|
|
|
|
|
pxctl credentials list
pxctl credentials list
Description
List all credentials for cloudpxctl credentials delete
pxctl credentials delete <required-argument>
Description
Delete a credential for cloudExample
/opt/pwx/bin/pxctl cred delete <name or uuid>
pxctl credentials validate
pxctl credentials validate <required-argument>
Description
Validate a credential for cloudExample
/opt/pwx/bin/pxctl cred validate <name or uuid>
pxctl credentials delete-refs
pxctl credentials delete-refs <required-argument>
Description
Delete references to a credentialExample
/opt/pwx/bin/pxctl cred delete-refs <name or uuid>