Token for use on Google Compute Engine instances
Token for use on Google Compute Engine instances
Details
This class uses the metadata service available on GCE VMs to fetch access
tokens. Not intended for direct use. See credentials_gce()
instead.
Methods
Inherited methods
Method new()
Get an access for a GCE service account.
Arguments
params
A list of parameters for fetch_gce_access_token()
.
Method init_credentials()
Request an access token.
Usage
GceToken$init_credentials()
Method refresh()
Refreshes the token. In this case, that just means "ask again
for an access token".
Method can_refresh()
Placeholder implementation of required method. Returns TRUE
.
Method cache()
Placeholder implementation of required method.
Method load_from_cache()
Placeholder implementation of required method.
Usage
GceToken$load_from_cache()
Method revoke()
Placeholder implementation of required method.
Method validate()
Placeholder implementation of required method
Method clone()
The objects of this class are cloneable with this method.
Usage
GceToken$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.