Class AppRoleSecret
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 Summary
ConstructorsConstructorDescriptionConstruct emptyAppRoleSecretobject.AppRoleSecret(String id) ConstructAppRoleSecretwith secret ID.ConstructAppRoleSecretwith ID and metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getTtl()inthashCode()voidsetCidrList(List<String> cidrList) voidsetTokenBoundCidrs(List<String> boundCidrList)
-
Constructor Details
-
AppRoleSecret
public AppRoleSecret()Construct emptyAppRoleSecretobject. -
AppRoleSecret
-
AppRoleSecret
-
-
Method Details
-
getId
- Returns:
- Secret ID
-
getAccessor
- Returns:
- Secret accessor
-
getMetadata
-
getCidrList
-
setCidrList
-
getCidrListString
-
getTokenBoundCidrs
-
setTokenBoundCidrs
-
getTokenBoundCidrsString
-
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
-
hashCode
-