Skip to content

Commit

Permalink
enh(passwordmgr-centreonvault): adapt vault module for plugins to the…
Browse files Browse the repository at this point in the history
… new specs (#5302)

Refs: CTOR-1151
  • Loading branch information
omercier authored Dec 5, 2024
1 parent 4753f29 commit 651095a
Show file tree
Hide file tree
Showing 10 changed files with 712 additions and 70 deletions.
2 changes: 2 additions & 0 deletions .github/packaging/centreon-plugin.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ provides:
overrides:
rpm:
depends: [
perl(Crypt::OpenSSL::AES),
perl(Digest::MD5),
perl(Pod::Find),
perl-Net-Curl,
Expand Down Expand Up @@ -62,6 +63,7 @@ overrides:
[@RPM_PROVIDES@]
deb:
depends: [
libcrypt-openssl-aes-perl,
libpod-parser-perl,
libnet-curl-perl,
liburi-encode-perl,
Expand Down
6 changes: 3 additions & 3 deletions connectors/vmware/src/centreon/script/centreonvault.pm
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Centreon Vault password manager
=head1 SYNOPSIS
Allows to retrieve secrets (usually username and password) from a Hashicorp vault compatible api given a config file as constructor.
Allows to retrieve secrets (usually username and password) from a Hashicorp vault compatible API.
use centreon::vmware::logger;
use centreon::script::centreonvault;
Expand Down Expand Up @@ -364,8 +364,8 @@ The expected file format for Centreon Vault is:
{
"name": "hashicorp_vault",
"url": "vault-server.mydomain.com",
"salt": "<base64 encoded(<32 bytes long key used to hash the crypted data)>",
"url": "vault-server.my-domain.com",
"salt": "<base64 encoded(<32 bytes long key used to hash the encrypted data)>",
"port": 443,
"root_path": "vmware_daemon",
"role_id": "<base64 encoded(<iv><hmac_hash><encrypted_role_id>)",
Expand Down
Loading

0 comments on commit 651095a

Please sign in to comment.