Open gberche-orange opened 2 years ago
As a credhub provider user
See https://github.com/cloudfoundry/credhub/issues/45 for the associated metadata request and https://docs.cloudfoundry.org/api/credhub/version/2.9/#_set_a_value_credential for specs about metadata
$ curl 'https://example.com/api/v1/data' -i -X PUT \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer [some-token]' \ -d '{ "name": "/some-value-name", "type": "value", "metadata": { "description": "example metadata"}, "value": "some-value" }'
Metadata could potentially also be useful in datasources, but likely with a lower priority
As a credhub provider user
See https://github.com/cloudfoundry/credhub/issues/45 for the associated metadata request and https://docs.cloudfoundry.org/api/credhub/version/2.9/#_set_a_value_credential for specs about metadata