Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Conversation

@artashesbalabekyan
Copy link

The KES doesn't support OpenStack Barbican Secret Manager.

This PR adds the support of Openstack Barbican Secret Manager along with other Key Management providers.

Testing this PR

  1. Setup two KES instance (source and target). Therefore create a new TLS private/public key pair:
kes identity new --ip 127.0.0.1 --dns localhost localhost
address: 0.0.0.0:7373 # Listen on all network interfaces on port 7373

admin:
  identity: 273de8a8d40c110047de8dcbaaa85896704fad73c9b0e093c8bb822e872b41c2

tls:
  key: private.key # The KES server TLS private key
  cert: public.crt # The KES server TLS certificate

policy:
  my-app:
    allow:
      - /v1/key/*/*
    identities:
    - c9aff4f0d135b88f70429ab9b4c11479d94c32301e801449f332b6eef4521bec


keystore:
  openstack:
    barbican:
      auth_url: <auth_url>
      barbican_url: <barbican_url>
      credentials:
        user_domain: "Default"
        username: <user_name>
        password: <password>
        project_domain: "default"
        project_name: <project_name>

Run the test

go test edge/*.go  -test.run ^TestOpenStack$ -openstack.config ./config.yml

@shtripat shtripat requested a review from aead June 30, 2023 04:51
@artashesbalabekyan artashesbalabekyan force-pushed the integrate_openstack_barbican branch from ccff003 to f7dcad5 Compare July 1, 2023 06:24
@A1ca7raz
Copy link

After Hashicorp Vault changing their license, I was looking for an open-source alternative until I saw this pr. Thank you!

@allanrogerr
Copy link

@artashesbalabekyan Is this still being worked on?

@allanrogerr allanrogerr added the question Further information is requested label Nov 7, 2023
@artashesbalabekyan
Copy link
Author

@artashesbalabekyan Is this still being worked on?

@allanrogerr Yes. It is tested, and it works

@harshavardhana harshavardhana added Do-Not-Merge Waiting for something new-feature This PR implements a new feature community pending discussion labels Jan 9, 2024
@harshavardhana harshavardhana removed the question Further information is requested label Jan 9, 2024
@harshavardhana
Copy link
Member

Please rebase the PR with the latest master, sorry for the delay.

@harshavardhana harshavardhana force-pushed the master branch 3 times, most recently from f832434 to 63649d0 Compare May 27, 2025 18:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community Do-Not-Merge Waiting for something new-feature This PR implements a new feature pending discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants