public class ConjurResource extends Object
A resource has an id in the form {account}:{kind}:{identifier},
along with metadata such as owner, policy, creation time, permissions, and annotations.
| Modifier and Type | Class and Description |
|---|---|
static class |
ConjurResource.Annotation
Represents an annotation (key-value metadata) on a resource.
|
static class |
ConjurResource.Permission
Represents a permission entry on a resource.
|
| Constructor and Description |
|---|
ConjurResource() |
| Modifier and Type | Method and Description |
|---|---|
List<ConjurResource.Annotation> |
getAnnotations() |
String |
getCreatedAt() |
String |
getId()
The fully-qualified resource ID:
{account}:{kind}:{identifier} |
String |
getIdentifier()
Extract the identifier (without account and kind prefix) from the fully-qualified ID.
|
String |
getKind()
Extract the resource kind from the fully-qualified ID.
|
String |
getOwner() |
List<ConjurResource.Permission> |
getPermissions() |
String |
getPolicy() |
List<Map<String,Object>> |
getPolicyVersions() |
List<Map<String,Object>> |
getSecrets() |
String |
toString() |
public String getCreatedAt()
public String getId()
{account}:{kind}:{identifier}public String getOwner()
public String getPolicy()
public List<ConjurResource.Permission> getPermissions()
public List<ConjurResource.Annotation> getAnnotations()
public List<Map<String,Object>> getSecrets()
public List<Map<String,Object>> getPolicyVersions()
public String getKind()
myorg:variable:db/password, returns variable.public String getIdentifier()
myorg:variable:db/password, returns db/password.Copyright © 2026. All rights reserved.