# cio credential

Usage

cio credential COMMAND [<CREDENTIALNAME>] <OPTIONS>

Manage credentials for cloud providers and backup servers

Child commands

Command Description
cio credential create Create credential for provider or backup service
cio credential list List all credentials
cio credential remove Remove a credential
cio credential validate* Validate a credential

# cio credential create

Usage

cio credential create [<CREDENTIALNAME>] [VALUE]

cio credential add [<CREDENTIALNAME>] [VALUE]

Create credential for provider or backup service

A Storidge cluster must have the following four credentials configured before it can backup, list or restore it's own volumes. Currently an AWS S3 bucket or MinIO object storage is supported as the backend for the backup service.

Credential Description
AWS
cio_aws_backup_repo URL for AWS S3 bucket
cio_aws_access_key AWS access key for backup user
cio_aws_secret_key AWS secret key for backup user
cio_aws_backup_password Password for backup repository
MinIO
cio_minio_backup_repo URL for MinIO object storage
cio_minio_access_key MinIO access key for backup user
cio_minio_secret_key MinIO secret key for backup user
cio_minio_backup_password Password for backup repository

For disaster recovery purposes, it is sometimes necessary to restore from the backup of a previous cluster. The credentials of the previous cluster (alternate) must first be configured before starting the restore service. The credentials for the alternate backup repo are:

Credential Description
AWS
cio_aws_alt_backup_repo URL for AWS S3 bucket
cio_aws_alt_access_key AWS access key for backup user
cio_aws_alt_secret_key AWS secret key for backup user
cio_aws_alt_backup_password Password for backup repository
MinIO
cio_minio_alt_backup_repo URL for AWS S3 bucket
cio_minio_alt_access_key AWS access key for backup user
cio_minio_alt_secret_key AWS secret key for backup user
cio_minio_alt_backup_password Password for backup repository

Examples

Create set of credentials for an AWS S3 repository

cio credential create cio_aws_backup_repo s3:https://s3.amazonaws.com/backup-123
cio credential create cio_aws_access_key AKIAYHD623GGZX7VDFMJ
cio credential create cio_aws_secret_key 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
cio credential create cio_aws_backup_password password

# cio credential list

Usage

cio credential ls

cio credential list

List all credentials

Examples

$ cio credential list

# cio credential remove

Usage

cio credential remove [CREDENTIALNAME]

cio credential delete [CREDENTIALNAME]

Remove a credential

Examples

$ cio credential remove cio_aws_backup_repo
Last Updated: 5/5/2021, 1:52:25 AM