Package | Description |
---|---|
org.springframework.vault.core |
Vault core support.
|
org.springframework.vault.support |
Classes supporting the Vault packages, such as value objects.
|
Modifier and Type | Method and Description |
---|---|
Policy |
VaultSysOperations.getPolicy(String name)
Read a
Policy by its name. |
Policy |
VaultSysTemplate.getPolicy(String name) |
Modifier and Type | Method and Description |
---|---|
void |
VaultSysOperations.createOrUpdatePolicy(String name,
Policy policy)
Create or update a
Policy . |
void |
VaultSysTemplate.createOrUpdatePolicy(String name,
Policy policy) |
Modifier and Type | Method and Description |
---|---|
static Policy |
Policy.empty()
Create an empty
Policy without rules. |
static Policy |
Policy.of(Policy.Rule... rules)
Create a
Policy from one or more rules . |
static Policy |
Policy.of(Set<Policy.Rule> rules)
Create a
Policy from one or more rules . |
Policy |
Policy.with(Policy.Rule rule)
Create a new
Policy object containing all configured rules and add the
given Policy.Rule to the new policy object. |
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.