code: async function getKeyRing(
    projectId = 'your-project-id', // Your GCP projectId
    keyRingId = 'my-key-ring' // Name of the crypto key's key ring
  ) {
    // Import the library and create a client
    const kms = require('@google-cloud/kms');
    const client = new kms.KeyManagementServiceClient();
  
    // The location of the key ring, e.g. "global"
    const locationId = 'global';
  
    // Get the full path to the keyring
    const name = client.keyRingPath(projectId, locationId, keyRingId);
  
    // Get the keyring
    const [keyRing] = await client.getKeyRing({name});
    console.log(`Name: ${keyRing.name}`);
    console.log(`Created: ${new Date(keyRing.createTime.seconds * 1000)}`);
  }
docs: [START kms_get_keyring]