gce_instance_service_accounts: List all service accounts available on this GCE instance

View source: R/credentials_gce.R

gce_instance_service_accountsR Documentation

List all service accounts available on this GCE instance

Description

List all service accounts available on this GCE instance

Usage

gce_instance_service_accounts()

Value

A data frame, where each row is a service account. Due to aliasing, there is no guarantee that each row represents a distinct service account.

See Also

The return value is built from a recursive query of the so-called "directory" of the instance's service accounts as documented in https://cloud.google.com/compute/docs/metadata/default-metadata-values#vm_instance_metadata.

Examples


credentials_gce()


r-lib/gargle documentation built on Sept. 10, 2023, 10:38 a.m.