Manage KMS keys used for system tests.

CloneableInstantiable
Methods
public __construct(array $keyFile, $serviceAccountEmail = NULL, $projectId = NULL)
public getKeyNames( $keyRingId, array $keyIds)
 

A helper to get KMS keys and set correct permissions.

  • return array
public getProject( $projectId = NULL)
 

Get the project data.

  • return array
public setServiceAccountEmail( $serviceAccountEmail)
 

Set the service account email used for IAM management.

    Properties
    private $keyFile
    private $projectId
    private $requestWrapper
    private $serviceAccountEmail
    Methods
    private buildKeyRing( $keyRingId)
     
      private getCryptoKeyName( $keyRingId, $cryptoKeyId)
       
      • return string
      © 2020 Bruce Wells
      Search Namespaces \ Classes
      ConfigurationNumbers (0-9.) only