Releases: pivotal/credhub-release
Releases · pivotal/credhub-release
2.0.1
Features
- The
mode
parameter for generate requests has returned. Users can once again specify in generate requests the value ofparameters.mode
. The supported modes areno-overwrite
(refuse to overwrite an existing credential,overwrite
(always overwrite an existing credential),converge
(only overwrite if the generate request parameters are not matched by the existing credential).converge
remains the default behavior as of 2.0.0.
Bug Fixes and Minor Improvements
- Squashed some 500s.
- Fixed an error where the
pre-start
script would regularly rotate the keystore password. pre-start is now idempotent again. (#24) - The server now appropriately returns its version number instead of throwing a 500 or returning
0.0.0
.
1.9.6
2.0.0
Features
- Permissions can now be defined in the manifest at deploy time.
- Permissions can now be defined for namespaces as well as on explicit credential names. Permissions are additive -- if any rule exists authorizing a user to take an action, then the action will be permitted.
- Permissions can be managed via a new RESTful resource.
Breaking Changes
- Users no longer have implicit write permissions for credential paths that are not yet occupied. In order to write to CredHub, users must modify their manifests to include an initial permission that grants them the ability to set credentials, generate credentials, or add/remove additional permissions as needed. See example below for a typical admin account:
Permissions for credentials that already exist before upgrading to 2.0 will be migrated to the new model.
properties: credhub: authorization: permissions: - path: /* actors: ["uaa-client:credhub_admin_client"] operations: [read,write,delete,read_acl,write_acl]
- Find requests now only return the names of credentials for which the authenticated user has
read
authorization. - ACLs are now enabled by default. To disable, set the property
credhub.authorization.acls.enabled
tofalse
. - To configure the
credhub
job'skey_properties
andconnection_properties
, manifests must include the configuration within nested objects in the properties hash. See thecredhub
job's spec file for more details. - Set Credentials and Generate Credentials requests no longer support
additional_permissions
. overwrite
mode no longer exists for set requests. Set always overwrites data that already exists.no-overwrite
mode no longer exists for generate requests. The default behavior ("converge
" mode) is now to regenerate values when the generation parameters differ from the existing value.- Removed the
paths=<bool>
flag on Find requests. - This version of the server only works with credhub cli version 2.x and above.
Bug Fixes and Minor Improvements
- Resolves an error where CredHub was creating RFC-noncompliant certs such that OpenSSL would fail to verify a leaf certificate in a three-tier or longer cert chain managed by CredHub.
2.0.0-rc.1
Features
- Users no longer have implicit write permissions for credential paths that are not yet occupied.
- Permissions can now be defined in the manifest at deploy time.
- Permissions can now be defined for namespaces as well as on explicit credential names. Permissions are additive -- if any rule exists authorizing a user to take an action, then the action will be permitted.
1.6.10
- Fixed backup and restore scripts to be compatible with backup-and-restore-sdk-release v1.2.1.
1.7.7
- Resolves an error where CredHub was creating RFC-noncompliant certs such that OpenSSL would fail to verify a leaf certificate in a three-tier or longer cert chain managed by CredHub.
1.6.9
- Resolves an error where CredHub was creating RFC-noncompliant certs such that OpenSSL would fail to verify a leaf certificate in a three-tier or longer cert chain managed by CredHub.
1.9.5
- Resolves an error where CredHub was creating RFC-noncompliant certs such that OpenSSL would fail to verify a leaf certificate in a three-tier or longer cert chain managed by CredHub.
1.9.4
- Bumps Spring Boot to 1.5.14
- Bumps Jackson Databind to 2.9.6
1.7.6
- Bumps Spring Boot to 1.5.14
- Bumps Jackson Databind to 2.9.6