SecretProps
Properties for defining a Secret.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-secret
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksae"
&alicloudroscdksae.SecretProps {
NamespaceId: interface{},
SecretData: interface{},
SecretName: interface{},
SecretType: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
NamespaceId | interface{} | Property namespaceId: The namespace ID where the Secret instance resides. |
SecretData | interface{} | 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 | interface{} | Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters. |
SecretType | interface{} | 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
NamespaceId interface{}
- Type: interface{}
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
SecretData interface{}
- Type: interface{}
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
SecretName interface{}
- Type: interface{}
Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters.
SecretTypeRequired
SecretType interface{}
- Type: interface{}
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.