SecretProps
Properties for defining a Secret.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-secret
Initializer
import ros_cdk_sae
ros_cdk_sae.SecretProps(
namespace_id: typing.Union[str, IResolvable],
secret_data: typing.Union[IResolvable, typing.Mapping[typing.Any]],
secret_name: typing.Union[str, IResolvable],
secret_type: typing.Union[str, IResolvable]
)
Properties
| Name | Type | Description |
|---|---|---|
namespace_id | typing.Union[str, ros_cdk_core.IResolvable] | Property namespaceId: The namespace ID where the Secret instance resides. |
secret_data | typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] | Property secretData: Secret key-value pair data, required.The format is as follows: {"Data":"{"k1":"v1", "k2":"v2"}"} k represents the key and v represents the value. |
secret_name | typing.Union[str, ros_cdk_core.IResolvable] | Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters. |
secret_type | typing.Union[str, ros_cdk_core.IResolvable] | Property secretType: The currently supported Secret instance type.The values are as follows: kubernetes.io\/dockerconfigjson: A confidential dictionary that stores the username and password of the mirror repository, used to pull mirror authentication during deployment. |
namespace_idRequired
namespace_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property namespaceId: The namespace ID where the Secret instance resides.
If the namespace you are in is the default namespace, you just need to fill in the RegionId.
secret_dataRequired
secret_data: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
Property secretData: Secret key-value pair data, required.The format is as follows: {"Data":"{"k1":"v1", "k2":"v2"}"} k represents the key and v represents the value.
secret_nameRequired
secret_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters.
secret_typeRequired
secret_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property secretType: The currently supported Secret instance type.The values are as follows: kubernetes.io\/dockerconfigjson: A confidential dictionary that stores the username and password of the mirror repository, used to pull mirror authentication during deployment.