Reference documentation and code samples for the Google Cloud Iap V1 Client class OutputCredentials.
Supported output credentials for attribute propagation. Each output credential maps to a "field" in the response. For example, selecting JWT will propagate all attributes in the IAP JWT, header in the headers, etc.
Protobuf type google.cloud.iap.v1.AttributePropagationSettings.OutputCredentials
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
OUTPUT_CREDENTIALS_UNSPECIFIED
Value: 0
No output credential. This is an unsupported default.
Generated from protobuf enum OUTPUT_CREDENTIALS_UNSPECIFIED = 0;
HEADER
Value: 1
Propagate attributes in the headers with "x-goog-iap-attr-" prefix.
Generated from protobuf enum HEADER = 1;
JWT
Value: 2
Propagate attributes in the JWT of the form: "additional_claims": {
"my_attribute": ["value1", "value2"] }
Generated from protobuf enum JWT = 2;
RCTOKEN
Value: 3
Propagate attributes in the RCToken of the form: "additional_claims": {
"my_attribute": ["value1", "value2"] }
Generated from protobuf enum RCTOKEN = 3;