1. Packages
  2. Scaleway
  3. API Docs
  4. getSecretVersion
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.getSecretVersion

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Using getSecretVersion

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSecretVersion(args: GetSecretVersionArgs, opts?: InvokeOptions): Promise<GetSecretVersionResult>
    function getSecretVersionOutput(args: GetSecretVersionOutputArgs, opts?: InvokeOptions): Output<GetSecretVersionResult>
    def get_secret_version(region: Optional[str] = None,
                           revision: Optional[str] = None,
                           secret_id: Optional[str] = None,
                           secret_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSecretVersionResult
    def get_secret_version_output(region: Optional[pulumi.Input[str]] = None,
                           revision: Optional[pulumi.Input[str]] = None,
                           secret_id: Optional[pulumi.Input[str]] = None,
                           secret_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSecretVersionResult]
    func LookupSecretVersion(ctx *Context, args *LookupSecretVersionArgs, opts ...InvokeOption) (*LookupSecretVersionResult, error)
    func LookupSecretVersionOutput(ctx *Context, args *LookupSecretVersionOutputArgs, opts ...InvokeOption) LookupSecretVersionResultOutput

    > Note: This function is named LookupSecretVersion in the Go SDK.

    public static class GetSecretVersion 
    {
        public static Task<GetSecretVersionResult> InvokeAsync(GetSecretVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetSecretVersionResult> Invoke(GetSecretVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecretVersionResult> getSecretVersion(GetSecretVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scaleway:index/getSecretVersion:getSecretVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Region string

    region) The region in which the resource exists.

    Revision string

    The revision for this Secret Version.

    SecretId string

    The Secret ID associated wit the secret version. Only one of secret_id and secret_name should be specified.

    SecretName string

    The Name of Secret associated wit the secret version. Only one of secret_id and secret_name should be specified.

    Region string

    region) The region in which the resource exists.

    Revision string

    The revision for this Secret Version.

    SecretId string

    The Secret ID associated wit the secret version. Only one of secret_id and secret_name should be specified.

    SecretName string

    The Name of Secret associated wit the secret version. Only one of secret_id and secret_name should be specified.

    region String

    region) The region in which the resource exists.

    revision String

    The revision for this Secret Version.

    secretId String

    The Secret ID associated wit the secret version. Only one of secret_id and secret_name should be specified.

    secretName String

    The Name of Secret associated wit the secret version. Only one of secret_id and secret_name should be specified.

    region string

    region) The region in which the resource exists.

    revision string

    The revision for this Secret Version.

    secretId string

    The Secret ID associated wit the secret version. Only one of secret_id and secret_name should be specified.

    secretName string

    The Name of Secret associated wit the secret version. Only one of secret_id and secret_name should be specified.

    region str

    region) The region in which the resource exists.

    revision str

    The revision for this Secret Version.

    secret_id str

    The Secret ID associated wit the secret version. Only one of secret_id and secret_name should be specified.

    secret_name str

    The Name of Secret associated wit the secret version. Only one of secret_id and secret_name should be specified.

    region String

    region) The region in which the resource exists.

    revision String

    The revision for this Secret Version.

    secretId String

    The Secret ID associated wit the secret version. Only one of secret_id and secret_name should be specified.

    secretName String

    The Name of Secret associated wit the secret version. Only one of secret_id and secret_name should be specified.

    getSecretVersion Result

    The following output properties are available:

    CreatedAt string

    Date and time of secret version's creation (RFC 3339 format).

    Data string

    The data payload of the secret version. more on the data section

    Description string

    (Optional) Description of the secret version (e.g. my-new-description).

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The status of the Secret Version.

    UpdatedAt string

    Date and time of secret version's last update (RFC 3339 format).

    Region string
    Revision string
    SecretId string
    SecretName string
    CreatedAt string

    Date and time of secret version's creation (RFC 3339 format).

    Data string

    The data payload of the secret version. more on the data section

    Description string

    (Optional) Description of the secret version (e.g. my-new-description).

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The status of the Secret Version.

    UpdatedAt string

    Date and time of secret version's last update (RFC 3339 format).

    Region string
    Revision string
    SecretId string
    SecretName string
    createdAt String

    Date and time of secret version's creation (RFC 3339 format).

    data String

    The data payload of the secret version. more on the data section

    description String

    (Optional) Description of the secret version (e.g. my-new-description).

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The status of the Secret Version.

    updatedAt String

    Date and time of secret version's last update (RFC 3339 format).

    region String
    revision String
    secretId String
    secretName String
    createdAt string

    Date and time of secret version's creation (RFC 3339 format).

    data string

    The data payload of the secret version. more on the data section

    description string

    (Optional) Description of the secret version (e.g. my-new-description).

    id string

    The provider-assigned unique ID for this managed resource.

    status string

    The status of the Secret Version.

    updatedAt string

    Date and time of secret version's last update (RFC 3339 format).

    region string
    revision string
    secretId string
    secretName string
    created_at str

    Date and time of secret version's creation (RFC 3339 format).

    data str

    The data payload of the secret version. more on the data section

    description str

    (Optional) Description of the secret version (e.g. my-new-description).

    id str

    The provider-assigned unique ID for this managed resource.

    status str

    The status of the Secret Version.

    updated_at str

    Date and time of secret version's last update (RFC 3339 format).

    region str
    revision str
    secret_id str
    secret_name str
    createdAt String

    Date and time of secret version's creation (RFC 3339 format).

    data String

    The data payload of the secret version. more on the data section

    description String

    (Optional) Description of the secret version (e.g. my-new-description).

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The status of the Secret Version.

    updatedAt String

    Date and time of secret version's last update (RFC 3339 format).

    region String
    revision String
    secretId String
    secretName String

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs