We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccb192 commit fa6c638Copy full SHA for fa6c638
storage/src/list_hmac_keys.php
@@ -39,7 +39,8 @@ function list_hmac_keys($projectId)
39
$hmacKeys = $storage->hmacKeys(['projectId' => $projectId]);
40
41
foreach ($hmacKeys as $hmacKey) {
42
- printf('HMAC key Metadata: %s' . PHP_EOL, print_r($hmacKey->info(), true));
+ printf('Service Account Email: %s' . PHP_EOL, $hmacKey['metadata']['serviceAccountEmail']);
43
+ printf('Access Id: %s' . PHP_EOL, $hmacKey['metadata']['accessId']);
44
}
45
46
# [END storage_list_hmac_keys]
0 commit comments