public class GcpIamAuthenticationOptions extends Object
GcpIamAuthentication
.
Authentication options provide the path, a GcpCredentialSupplier
, role and JWT
expiry for GCP IAM authentication. Instances of this class are immutable once
constructed.GcpIamAuthentication
,
builder()
Modifier and Type | Class and Description |
---|---|
static class |
GcpIamAuthenticationOptions.GcpIamAuthenticationOptionsBuilder
Builder for
GcpIamAuthenticationOptions . |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GCP_AUTHENTICATION_PATH |
Modifier and Type | Method and Description |
---|---|
static GcpIamAuthenticationOptions.GcpIamAuthenticationOptionsBuilder |
builder() |
Clock |
getClock() |
GcpCredentialSupplier |
getCredentialSupplier() |
Duration |
getJwtValidity() |
String |
getPath() |
GcpProjectIdAccessor |
getProjectIdAccessor() |
String |
getRole() |
GcpServiceAccountIdAccessor |
getServiceAccountIdAccessor() |
public static final String DEFAULT_GCP_AUTHENTICATION_PATH
public static GcpIamAuthenticationOptions.GcpIamAuthenticationOptionsBuilder builder()
GcpIamAuthenticationOptions.GcpIamAuthenticationOptionsBuilder
.public String getPath()
public GcpCredentialSupplier getCredentialSupplier()
Credential
supplier.public String getRole()
public Clock getClock()
Clock
used to calculate epoch seconds until the JWT expires.public GcpServiceAccountIdAccessor getServiceAccountIdAccessor()
public GcpProjectIdAccessor getProjectIdAccessor()
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.