Conductor Documentation

secrets providers

The cfy secrets providers command is used to manage Studio Conductor Secrets Providers.

Optional flags

These commands support the common CLI flags.

Commands

create

Usage

cfy secrets providers create [OPTIONS] SECRETS_PROVIDER_NAME

Create a new Secrets Provider.

SECRETS_PROVIDER_NAME is the new Secrets Provider’s name.

Required flags

One of these flags:

Optional flags:

 

Example

$ cfy secrets providers create test-provider --type local
...

Secrets Provider `test-provider` created
Connected to the Secrets Provider successfully

...

delete

Usage

cfy secrets providers delete [OPTIONS] SECRETS_PROVIDER_NAME

Delete a Secrets Provider.

SECRETS_PROVIDER_NAME is the Secrets Provider’s name.

Optional flags:

 

Example

$ cfy secrets providers delete test-provider
...

Deleting Secrets Provider `test-provider`...
Secrets Provider removed

...

get

Usage

cfy secrets providers get [OPTIONS] SECRETS_PROVIDER_NAME

Get details for a single Secrets Provider.

SECRETS_PROVIDER_NAME is the Secrets Provider’s name.

Optional flags:

 

Example

cfy secrets providers get test-provider

...

Getting info for Secrets Provider `test-provider`...
Requested Secrets Provider info:
created_at:                2022-12-22 13:52:04.116 
id:                        test-provider
visibility:                tenant
name:                      test-provider
type:                      local
connection_parameters:     None
updated_at:                None
tenant_name:               default_tenant
created_by:                admin
resource_availability:     tenant
private_resource:          False


...

list

Usage

cfy secrets providers list [OPTIONS]

List all Secrets Providers.

 

Example

$ cfy secrets providers list
...

Listing all Secrets Providers...

Secrets Providers:
+---------------+-------+------------+----------------+------------+--------------------------+
|      name     |  type | visibility |  tenant_name   | created_by |        created_at        |
+---------------+-------+------------+----------------+------------+--------------------------+
| test-provider | local |   tenant   | default_tenant |   admin    | 2022-12-22 13:52:04.116  |
+---------------+-------+------------+----------------+------------+--------------------------+

Showing 1 of 1 Secrets Providers
...

update

Usage

cfy secrets providers update [OPTIONS] SECRETS_PROVIDER_NAME

Update an existing Secrets Provider.

SECRETS_PROVIDER_NAME is the Secrets Provider’s name.

Optional flags:

 

Example

$ cfy secrets providers update test-provider --type vault
...

Secrets Provider `test-provider` updated

...

test

Usage

cfy secrets providers test [OPTIONS] SECRETS_PROVIDER_NAME

Test a Secrets Provider connectivity.

SECRETS_PROVIDER_NAME is the Secrets Provider’s name.

Optional flags:

 

Example

$ cfy secrets providers test test-provider
...

Connected to the Secrets Provider successfully

...