Class GetSecretBundleByNameRequest
Implements
Inherited Members
Namespace: Oci.SecretsService.Requests
Assembly: OCI.DotNetSDK.Secrets.dll
Syntax
public class GetSecretBundleByNameRequest : IOciRequest
Examples
Click here to see an example of how to use GetSecretBundleByName request.
Properties
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. |
SecretName
Declaration
[Required(ErrorMessage = "SecretName is required.")]
[HttpConverter(TargetEnum.Query, "secretName")]
public string SecretName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name for the secret. Secret names are unique within a vault. Secret names are case-sensitive. |
Remarks
Required
SecretVersionName
Declaration
[HttpConverter(TargetEnum.Query, "secretVersionName")]
public string SecretVersionName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the secret. (This might be referred to as the name of the secret version. Names are unique across the different versions of a secret.) |
Stage
Declaration
[HttpConverter(TargetEnum.Query, "stage")]
public GetSecretBundleByNameRequest.StageEnum? Stage { get; set; }
Property Value
Type | Description |
---|---|
GetSecretBundleByNameRequest.StageEnum? | The rotation state of the secret version. |
VaultId
Declaration
[Required(ErrorMessage = "VaultId is required.")]
[HttpConverter(TargetEnum.Query, "vaultId")]
public string VaultId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the vault that contains the secret. |
Remarks
Required
VersionNumber
Declaration
[HttpConverter(TargetEnum.Query, "versionNumber")]
public long? VersionNumber { get; set; }
Property Value
Type | Description |
---|---|
long? | The version number of the secret. |