1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudkms
  5. cloudkms/v1
  6. getKeyRing

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.cloudkms/v1.getKeyRing

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Returns metadata for a given KeyRing.

    Using getKeyRing

    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 getKeyRing(args: GetKeyRingArgs, opts?: InvokeOptions): Promise<GetKeyRingResult>
    function getKeyRingOutput(args: GetKeyRingOutputArgs, opts?: InvokeOptions): Output<GetKeyRingResult>
    def get_key_ring(key_ring_id: Optional[str] = None,
                     location: Optional[str] = None,
                     project: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetKeyRingResult
    def get_key_ring_output(key_ring_id: Optional[pulumi.Input[str]] = None,
                     location: Optional[pulumi.Input[str]] = None,
                     project: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetKeyRingResult]
    func LookupKeyRing(ctx *Context, args *LookupKeyRingArgs, opts ...InvokeOption) (*LookupKeyRingResult, error)
    func LookupKeyRingOutput(ctx *Context, args *LookupKeyRingOutputArgs, opts ...InvokeOption) LookupKeyRingResultOutput

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

    public static class GetKeyRing 
    {
        public static Task<GetKeyRingResult> InvokeAsync(GetKeyRingArgs args, InvokeOptions? opts = null)
        public static Output<GetKeyRingResult> Invoke(GetKeyRingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKeyRingResult> getKeyRing(GetKeyRingArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:cloudkms/v1:getKeyRing
      arguments:
        # arguments dictionary

    The following arguments are supported:

    KeyRingId string
    Location string
    Project string
    KeyRingId string
    Location string
    Project string
    keyRingId String
    location String
    project String
    keyRingId string
    location string
    project string
    keyRingId String
    location String
    project String

    getKeyRing Result

    The following output properties are available:

    CreateTime string
    The time at which this KeyRing was created.
    Name string
    The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.
    CreateTime string
    The time at which this KeyRing was created.
    Name string
    The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.
    createTime String
    The time at which this KeyRing was created.
    name String
    The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.
    createTime string
    The time at which this KeyRing was created.
    name string
    The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.
    create_time str
    The time at which this KeyRing was created.
    name str
    The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.
    createTime String
    The time at which this KeyRing was created.
    name String
    The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi