Show / Hide Table of Contents

Class GetKMSKeyRing

Inheritance
System.Object
GetKMSKeyRing
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Kms
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetKMSKeyRing

Methods

View Source

InvokeAsync(GetKMSKeyRingArgs, InvokeOptions)

Provides access to Google Cloud Platform KMS KeyRing. For more information see the official documentation and API.

A KeyRing is a grouping of CryptoKeys for organizational purposes. A KeyRing belongs to a Google Cloud Platform Project and resides in a specific location.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var myKeyRing = Output.Create(Gcp.Kms.GetKMSKeyRing.InvokeAsync(new Gcp.Kms.GetKMSKeyRingArgs
    {
        Location = "us-central1",
        Name = "my-key-ring",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetKMSKeyRingResult> InvokeAsync(GetKMSKeyRingArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetKMSKeyRingArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetKMSKeyRingResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.