GetSecret
Using GetSecret
function getSecret(args: GetSecretArgs, opts?: InvokeOptions): Promise<GetSecretResult>function get_secret(acl_only=None, algorithm=None, bit_length=None, created_at_filter=None, expiration_filter=None, mode=None, name=None, region=None, secret_type=None, updated_at_filter=None, opts=None)func GetSecret(ctx *Context, args *GetSecretArgs, opts ...InvokeOption) (*GetSecretResult, error)public static class GetSecret {
public static Task<GetSecretResult> InvokeAsync(GetSecretArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Acl
Only bool Select the Secret with an ACL that contains the user. Project scope is ignored. Defaults to
false.- Algorithm string
The Secret algorithm.
- Bit
Length int The Secret bit length.
- Created
At stringFilter Date filter to select the Secret with created matching the specified criteria. See Date Filters below for more detail.
- Expiration
Filter string Date filter to select the Secret with expiration matching the specified criteria. See Date Filters below for more detail.
- Mode string
The Secret mode.
- Name string
The Secret name.
- Region string
The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to fetch a secret. If omitted, the
regionargument of the provider is used.- Secret
Type string The Secret type. For more information see Secret types.
- Updated
At stringFilter Date filter to select the Secret with updated matching the specified criteria. See Date Filters below for more detail.
- Acl
Only bool Select the Secret with an ACL that contains the user. Project scope is ignored. Defaults to
false.- Algorithm string
The Secret algorithm.
- Bit
Length int The Secret bit length.
- Created
At stringFilter Date filter to select the Secret with created matching the specified criteria. See Date Filters below for more detail.
- Expiration
Filter string Date filter to select the Secret with expiration matching the specified criteria. See Date Filters below for more detail.
- Mode string
The Secret mode.
- Name string
The Secret name.
- Region string
The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to fetch a secret. If omitted, the
regionargument of the provider is used.- Secret
Type string The Secret type. For more information see Secret types.
- Updated
At stringFilter Date filter to select the Secret with updated matching the specified criteria. See Date Filters below for more detail.
- acl
Only boolean Select the Secret with an ACL that contains the user. Project scope is ignored. Defaults to
false.- algorithm string
The Secret algorithm.
- bit
Length number The Secret bit length.
- created
At stringFilter Date filter to select the Secret with created matching the specified criteria. See Date Filters below for more detail.
- expiration
Filter string Date filter to select the Secret with expiration matching the specified criteria. See Date Filters below for more detail.
- mode string
The Secret mode.
- name string
The Secret name.
- region string
The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to fetch a secret. If omitted, the
regionargument of the provider is used.- secret
Type string The Secret type. For more information see Secret types.
- updated
At stringFilter Date filter to select the Secret with updated matching the specified criteria. See Date Filters below for more detail.
- acl_
only bool Select the Secret with an ACL that contains the user. Project scope is ignored. Defaults to
false.- algorithm str
The Secret algorithm.
- bit_
length float The Secret bit length.
- created_
at_ strfilter Date filter to select the Secret with created matching the specified criteria. See Date Filters below for more detail.
- expiration_
filter str Date filter to select the Secret with expiration matching the specified criteria. See Date Filters below for more detail.
- mode str
The Secret mode.
- name str
The Secret name.
- region str
The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to fetch a secret. If omitted, the
regionargument of the provider is used.- secret_
type str The Secret type. For more information see Secret types.
- updated_
at_ strfilter Date filter to select the Secret with updated matching the specified criteria. See Date Filters below for more detail.
GetSecret Result
The following output properties are available:
- Acls
List<Pulumi.
Open Stack. Key Manager. Outputs. Get Secret Acl> The list of ACLs assigned to a secret. The
readstructure is described below.- Content
Types Dictionary<string, object> The map of the content types, assigned on the secret.
- Created
At string The date the secret ACL was created.
- Creator
Id string The creator of the secret.
- Expiration string
The date the secret will expire.
- Id string
The provider-assigned unique ID for this managed resource.
- Metadata Dictionary<string, object>
The map of metadata, assigned on the secret, which has been explicitly and implicitly added.
- Payload string
The secret payload.
- Payload
Content stringEncoding The Secret encoding.
- Payload
Content stringType The Secret content type.
- Secret
Ref string The secret reference / where to find the secret.
- Status string
The status of the secret.
- Updated
At string The date the secret ACL was last updated.
- Acl
Only bool See Argument Reference above.
- Algorithm string
See Argument Reference above.
- Bit
Length int See Argument Reference above.
- Created
At stringFilter See Argument Reference above.
- Expiration
Filter string See Argument Reference above.
- Mode string
See Argument Reference above.
- Name string
See Argument Reference above.
- Region string
See Argument Reference above.
- Secret
Type string See Argument Reference above.
- Updated
At stringFilter See Argument Reference above.
- Acls
[]Get
Secret Acl The list of ACLs assigned to a secret. The
readstructure is described below.- Content
Types map[string]interface{} The map of the content types, assigned on the secret.
- Created
At string The date the secret ACL was created.
- Creator
Id string The creator of the secret.
- Expiration string
The date the secret will expire.
- Id string
The provider-assigned unique ID for this managed resource.
- Metadata map[string]interface{}
The map of metadata, assigned on the secret, which has been explicitly and implicitly added.
- Payload string
The secret payload.
- Payload
Content stringEncoding The Secret encoding.
- Payload
Content stringType The Secret content type.
- Secret
Ref string The secret reference / where to find the secret.
- Status string
The status of the secret.
- Updated
At string The date the secret ACL was last updated.
- Acl
Only bool See Argument Reference above.
- Algorithm string
See Argument Reference above.
- Bit
Length int See Argument Reference above.
- Created
At stringFilter See Argument Reference above.
- Expiration
Filter string See Argument Reference above.
- Mode string
See Argument Reference above.
- Name string
See Argument Reference above.
- Region string
See Argument Reference above.
- Secret
Type string See Argument Reference above.
- Updated
At stringFilter See Argument Reference above.
- acls
Get
Secret Acl[] The list of ACLs assigned to a secret. The
readstructure is described below.- content
Types {[key: string]: any} The map of the content types, assigned on the secret.
- created
At string The date the secret ACL was created.
- creator
Id string The creator of the secret.
- expiration string
The date the secret will expire.
- id string
The provider-assigned unique ID for this managed resource.
- metadata {[key: string]: any}
The map of metadata, assigned on the secret, which has been explicitly and implicitly added.
- payload string
The secret payload.
- payload
Content stringEncoding The Secret encoding.
- payload
Content stringType The Secret content type.
- secret
Ref string The secret reference / where to find the secret.
- status string
The status of the secret.
- updated
At string The date the secret ACL was last updated.
- acl
Only boolean See Argument Reference above.
- algorithm string
See Argument Reference above.
- bit
Length number See Argument Reference above.
- created
At stringFilter See Argument Reference above.
- expiration
Filter string See Argument Reference above.
- mode string
See Argument Reference above.
- name string
See Argument Reference above.
- region string
See Argument Reference above.
- secret
Type string See Argument Reference above.
- updated
At stringFilter See Argument Reference above.
- acls
List[Get
Secret Acl] The list of ACLs assigned to a secret. The
readstructure is described below.- content_
types Dict[str, Any] The map of the content types, assigned on the secret.
- created_
at str The date the secret ACL was created.
- creator_
id str The creator of the secret.
- expiration str
The date the secret will expire.
- id str
The provider-assigned unique ID for this managed resource.
- metadata Dict[str, Any]
The map of metadata, assigned on the secret, which has been explicitly and implicitly added.
- payload str
The secret payload.
- payload_
content_ strencoding The Secret encoding.
- payload_
content_ strtype The Secret content type.
- secret_
ref str The secret reference / where to find the secret.
- status str
The status of the secret.
- updated_
at str The date the secret ACL was last updated.
- acl_
only bool See Argument Reference above.
- algorithm str
See Argument Reference above.
- bit_
length float See Argument Reference above.
- created_
at_ strfilter See Argument Reference above.
- expiration_
filter str See Argument Reference above.
- mode str
See Argument Reference above.
- name str
See Argument Reference above.
- region str
See Argument Reference above.
- secret_
type str See Argument Reference above.
- updated_
at_ strfilter See Argument Reference above.
Supporting Types
GetSecretAcl
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetSecretAclRead
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Created
At string The date the secret ACL was created.
- Updated
At string The date the secret ACL was last updated.
- Project
Access bool Whether the secret is accessible project wide.
- Users List<string>
The list of user IDs, which are allowed to access the secret, when
project_accessis set tofalse.
- created_
at str The date the secret ACL was created.
- updated_
at str The date the secret ACL was last updated.
- project
Access bool Whether the secret is accessible project wide.
- users List[str]
The list of user IDs, which are allowed to access the secret, when
project_accessis set tofalse.
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.