SecretProps
Properties for defining a Secret.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-secret
Initializer
import com.aliyun.ros.cdk.sae.SecretProps;
SecretProps.builder()
.namespaceId(java.lang.String)
.namespaceId(IResolvable)
.secretData(IResolvable)
.secretData(java.util.Map<java.lang.String, java.lang.Object>)
.secretName(java.lang.String)
.secretName(IResolvable)
.secretType(java.lang.String)
.secretType(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
namespaceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property namespaceId: The namespace ID where the Secret instance resides. |
secretData | com.aliyun.ros.cdk.core.IResolvable OR java.util.Map | 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 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters. |
secretType | java.lang.String OR com.aliyun.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. |
namespaceIdRequired
public java.lang.Object getNamespaceId();
- Type: java.lang.String OR com.aliyun.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.
secretDataRequired
public java.lang.Object getSecretData();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
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 java.lang.Object getSecretName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property secretName: Secret instance name.Allows combinations of numbers, letters, en dash (-) and underscores (_) and only start with letters.
secretTypeRequired
public java.lang.Object getSecretType();
- Type: java.lang.String OR com.aliyun.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.