SecretProps
Properties for defining a Secret.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-secret
Initializer
using AlibabaCloud.SDK.ROS.CDK.Sae;
new SecretProps {
object NamespaceId,
object SecretData,
object SecretName,
object SecretType
};
Properties
| Name | Type | Description |
|---|---|---|
NamespaceId | object | Property namespaceId: The namespace ID where the Secret instance resides. |
SecretData | object | 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. |
SecretName | object | Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters. |
SecretType | object | 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. |
NamespaceIdRequired
public object NamespaceId { get; set; }
- Type: object
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.
SecretDataRequired
public object SecretData { get; set; }
- Type: object
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.
SecretNameRequired
public object SecretName { get; set; }
- Type: object
Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters.
SecretTypeRequired
public object SecretType { get; set; }
- Type: object
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.