java.lang.Object
de.stklcode.jvault.connector.model.AppRoleSecret
- All Implemented Interfaces:
- Serializable
Vault AppRole role metamodel.
- Since:
- 0.4.0, 1.1 implements Serializable
- Author:
- Stefan Kalscheuer
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct emptyAppRoleSecretobject.AppRoleSecret(String id) ConstructAppRoleSecretwith secret ID.ConstructAppRoleSecretwith ID and metadata.
- 
Method Summary
- 
Constructor Details- 
AppRoleSecretpublic AppRoleSecret()Construct emptyAppRoleSecretobject.
- 
AppRoleSecretConstructAppRoleSecretwith secret ID.- Parameters:
- id- Secret ID
 
- 
AppRoleSecretConstructAppRoleSecretwith ID and metadata.- Parameters:
- id- Secret ID
- metadata- Secret metadata
- cidrList- List of subnets in CIDR notation, the role is bound to
 
 
- 
- 
Method Details- 
getId- Returns:
- Secret ID
 
- 
getAccessor- Returns:
- Secret accessor
 
- 
getMetadata- Returns:
- Secret metadata
 
- 
getCidrList- Returns:
- List of bound subnets in CIDR notation
 
- 
setCidrList- Parameters:
- cidrList- List of subnets in CIDR notation
 
- 
getCidrListString- Returns:
- List of bound subnets in CIDR notation as comma-separated String
 
- 
getCreationTime- Returns:
- Creation time
 
- 
getExpirationTime- Returns:
- Expiration time
 
- 
getLastUpdatedTime- Returns:
- Time of last update
 
- 
getNumUses- Returns:
- Number of uses
 
- 
getTtl- Returns:
- Time-to-live
 
- 
equals
- 
hashCodepublic int hashCode()
 
-