public final class AppRole extends Object
Constructor and Description |
---|
AppRole()
Construct empty
AppRole object. |
AppRole(String name,
String id,
Boolean bindSecretId,
List<String> boundCidrList,
List<String> policies,
Integer secretIdNumUses,
Integer secretIdTtl,
Integer tokenTtl,
Integer tokenMaxTtl,
Integer period)
Construct complete
AppRole object. |
Modifier and Type | Method and Description |
---|---|
Boolean |
getBindSecretId() |
List<String> |
getBoundCidrList() |
String |
getBoundCidrListString() |
String |
getId() |
String |
getName() |
Integer |
getPeriod() |
List<String> |
getPolicies() |
String |
getPoliciesString() |
Integer |
getSecretIdNumUses() |
Integer |
getSecretIdTtl() |
Integer |
getTokenMaxTtl() |
Integer |
getTokenTtl() |
void |
setBoundCidrList(List<String> boundCidrList) |
void |
setPolicies(List<String> policies) |
public AppRole()
AppRole
object.public AppRole(String name, String id, Boolean bindSecretId, List<String> boundCidrList, List<String> policies, Integer secretIdNumUses, Integer secretIdTtl, Integer tokenTtl, Integer tokenMaxTtl, Integer period)
AppRole
object.name
- Role name (required)id
- Role ID (optional)bindSecretId
- Bind secret ID (optional)boundCidrList
- Whitelist of subnets in CIDR notation (optional)policies
- List of policies (optional)secretIdNumUses
- Maximum number of uses per secret (optional)secretIdTtl
- Maximum TTL in seconds for secrets (optional)tokenTtl
- Token TTL in seconds (optional)tokenMaxTtl
- Maximum token TTL in seconds, including renewals (optional)period
- Duration in seconds, if set the token is a periodic token (optional)public String getName()
public String getId()
public Boolean getBindSecretId()
public void setBoundCidrList(List<String> boundCidrList)
boundCidrList
- list of subnets in CIDR notation to bind role topublic String getBoundCidrListString()
String
public String getPoliciesString()
String
public Integer getSecretIdNumUses()
public Integer getSecretIdTtl()
public Integer getTokenTtl()
public Integer getTokenMaxTtl()
public Integer getPeriod()
Copyright © 2016–2018. All rights reserved.