Send feedback
googleauth - Class Google::Auth::ExternalAccount::Credentials (v1.12.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.1 keyboard_arrow_down
Reference documentation and code samples for the googleauth class Google::Auth::ExternalAccount::Credentials.
Provides an entrypoint for all Exernal Account credential classes.
Methods
.make_creds
def self . make_creds ( options = {})
Create a ExternalAccount::Credentials
Parameters
json_key_io (IO) — an IO from which the JSON key can be read
scope (String, Array, nil) — the scope(s) to access
Raises
(MISSING_CREDENTIAL_SOURCE)
.read_json_key
def self . read_json_key ( json_key_io )
Reads the required fields from the JSON.
Constants
AWS_SUBJECT_TOKEN_TYPE
value: "urn:ietf:params:aws:token-type:aws4_request".freeze The subject token type used for AWS external_account credentials.
MISSING_CREDENTIAL_SOURCE
value: "missing credential source for external account".freeze
INVALID_EXTERNAL_ACCOUNT_TYPE
value: "credential source is not supported external account type".freeze
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-20 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-20 UTC."],[],[]]