ProjectsServiceAccountsKeys
class ProjectsServiceAccountsKeys extends Resource (View source)
The "keys" collection of methods.
Typical usage is:
$iamService = new Google\Service\Iam(...);
$keys = $iamService->projects_serviceAccounts_keys;
Methods
Creates a ServiceAccountKey. (keys.create)
Deletes a ServiceAccountKey. Deleting a service account key does not revoke short-lived credentials that have been issued based on the service account key. (keys.delete)
Disable a ServiceAccountKey. A disabled service account key can be re-enabled with EnableServiceAccountKey. (keys.disable)
Enable a ServiceAccountKey. (keys.enable)
Gets a ServiceAccountKey. (keys.get)
Lists every ServiceAccountKey for a service account.
Uploads the public key portion of a key pair that you manage, and associates the public key with a ServiceAccount. After you upload the public key, you can use the private key from the key pair as a service account key.
Details
ServiceAccountKey
create(string $name, CreateServiceAccountKeyRequest $postBody, array $optParams = [])
Creates a ServiceAccountKey. (keys.create)
IamEmpty
delete(string $name, array $optParams = [])
Deletes a ServiceAccountKey. Deleting a service account key does not revoke short-lived credentials that have been issued based on the service account key. (keys.delete)
IamEmpty
disable(string $name, DisableServiceAccountKeyRequest $postBody, array $optParams = [])
Disable a ServiceAccountKey. A disabled service account key can be re-enabled with EnableServiceAccountKey. (keys.disable)
IamEmpty
enable(string $name, EnableServiceAccountKeyRequest $postBody, array $optParams = [])
Enable a ServiceAccountKey. (keys.enable)
ServiceAccountKey
get(string $name, array $optParams = [])
Gets a ServiceAccountKey. (keys.get)
ListServiceAccountKeysResponse
listProjectsServiceAccountsKeys(string $name, array $optParams = [])
Lists every ServiceAccountKey for a service account.
(keys.listProjectsServiceAccountsKeys)
ServiceAccountKey
upload(string $name, UploadServiceAccountKeyRequest $postBody, array $optParams = [])
Uploads the public key portion of a key pair that you manage, and associates the public key with a ServiceAccount. After you upload the public key, you can use the private key from the key pair as a service account key.
(keys.upload)