baiji v0.6.7 Baiji.Auth.InstanceMetadata
Derives operation authentication parameters from the local instance’ metadata
Link to this section Summary
Functions
Populate the given credentials key in the op struct using cached credentials
Query the instance metadata endpoint for security credentials and return them
Query the ECS task role credentials endpoint for security credentials and return them
Assign instance metadata credentials to the operation
Populate the security credential of the given operation specified by the given key using the instance metadata endpoint
Populate the given auth key on the operation using the cached instance metadata in the operation’s assigns
Make a GET request to the specified URL and return the body. If anything goes wrong, raise an error
Link to this section Functions
Populate the given credentials key in the op struct using cached credentials
Query the instance metadata endpoint for security credentials and return them
Query the ECS task role credentials endpoint for security credentials and return them
Assign instance metadata credentials to the operation
Populate the security credential of the given operation specified by the given key using the instance metadata endpoint
Populate the given auth key on the operation using the cached instance metadata in the operation’s assigns
Make a GET request to the specified URL and return the body. If anything goes wrong, raise an error.