OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud
ovh.Okms.getOkmsCredential
Explore with Pulumi AI
Use this data source to retrieve data associated with a KMS credential, such as the PEM encoded certificate.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  kms:
    fn::invoke:
      function: ovh:Okms:getOkmsResource
      arguments:
        id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        okmsId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Using getOkmsCredential
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 getOkmsCredential(args: GetOkmsCredentialArgs, opts?: InvokeOptions): Promise<GetOkmsCredentialResult>
function getOkmsCredentialOutput(args: GetOkmsCredentialOutputArgs, opts?: InvokeOptions): Output<GetOkmsCredentialResult>def get_okms_credential(id: Optional[str] = None,
                        okms_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetOkmsCredentialResult
def get_okms_credential_output(id: Optional[pulumi.Input[str]] = None,
                        okms_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetOkmsCredentialResult]func GetOkmsCredential(ctx *Context, args *GetOkmsCredentialArgs, opts ...InvokeOption) (*GetOkmsCredentialResult, error)
func GetOkmsCredentialOutput(ctx *Context, args *GetOkmsCredentialOutputArgs, opts ...InvokeOption) GetOkmsCredentialResultOutput> Note: This function is named GetOkmsCredential in the Go SDK.
public static class GetOkmsCredential 
{
    public static Task<GetOkmsCredentialResult> InvokeAsync(GetOkmsCredentialArgs args, InvokeOptions? opts = null)
    public static Output<GetOkmsCredentialResult> Invoke(GetOkmsCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOkmsCredentialResult> getOkmsCredential(GetOkmsCredentialArgs args, InvokeOptions options)
public static Output<GetOkmsCredentialResult> getOkmsCredential(GetOkmsCredentialArgs args, InvokeOptions options)
fn::invoke:
  function: ovh:Okms/getOkmsCredential:getOkmsCredential
  arguments:
    # arguments dictionaryThe following arguments are supported:
getOkmsCredential Result
The following output properties are available:
- Certificate
Pem string - (String) PEM encoded certificate of the credential
 - Created
At string - (String) Creation time of the credential
 - Description string
 - (String) Description of the credential
 - Expired
At string - (String) Expiration time of the credential
 - From
Csr bool - (Boolean) Is the credential generated from CSR
 - Id string
 - Identity
Urns List<string> - (List of String) List of identity URNs associated with the credential
 - Name string
 - (String) Name of the credential
 - Okms
Id string - Status string
 - (String) Status of the credential
 
- Certificate
Pem string - (String) PEM encoded certificate of the credential
 - Created
At string - (String) Creation time of the credential
 - Description string
 - (String) Description of the credential
 - Expired
At string - (String) Expiration time of the credential
 - From
Csr bool - (Boolean) Is the credential generated from CSR
 - Id string
 - Identity
Urns []string - (List of String) List of identity URNs associated with the credential
 - Name string
 - (String) Name of the credential
 - Okms
Id string - Status string
 - (String) Status of the credential
 
- certificate
Pem String - (String) PEM encoded certificate of the credential
 - created
At String - (String) Creation time of the credential
 - description String
 - (String) Description of the credential
 - expired
At String - (String) Expiration time of the credential
 - from
Csr Boolean - (Boolean) Is the credential generated from CSR
 - id String
 - identity
Urns List<String> - (List of String) List of identity URNs associated with the credential
 - name String
 - (String) Name of the credential
 - okms
Id String - status String
 - (String) Status of the credential
 
- certificate
Pem string - (String) PEM encoded certificate of the credential
 - created
At string - (String) Creation time of the credential
 - description string
 - (String) Description of the credential
 - expired
At string - (String) Expiration time of the credential
 - from
Csr boolean - (Boolean) Is the credential generated from CSR
 - id string
 - identity
Urns string[] - (List of String) List of identity URNs associated with the credential
 - name string
 - (String) Name of the credential
 - okms
Id string - status string
 - (String) Status of the credential
 
- certificate_
pem str - (String) PEM encoded certificate of the credential
 - created_
at str - (String) Creation time of the credential
 - description str
 - (String) Description of the credential
 - expired_
at str - (String) Expiration time of the credential
 - from_
csr bool - (Boolean) Is the credential generated from CSR
 - id str
 - identity_
urns Sequence[str] - (List of String) List of identity URNs associated with the credential
 - name str
 - (String) Name of the credential
 - okms_
id str - status str
 - (String) Status of the credential
 
- certificate
Pem String - (String) PEM encoded certificate of the credential
 - created
At String - (String) Creation time of the credential
 - description String
 - (String) Description of the credential
 - expired
At String - (String) Expiration time of the credential
 - from
Csr Boolean - (Boolean) Is the credential generated from CSR
 - id String
 - identity
Urns List<String> - (List of String) List of identity URNs associated with the credential
 - name String
 - (String) Name of the credential
 - okms
Id String - status String
 - (String) Status of the credential
 
Package Details
- Repository
 - ovh ovh/pulumi-ovh
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ovhTerraform Provider.