【问题标题】:HashiCorp Vault multiple values for ldap.urls (list of urls)HashiCorp Vault ldap.urls 的多个值(url 列表)
【发布时间】:2021-04-07 17:43:48
【问题描述】:

我在 application.yml 中有 spring ldap 的配置:

ldap:
  urls:
    - ldaps://host01.acme.com:636
    - ldaps://host02.acme.com:636
    - ldaps://host03.acme.com:636
    - ldaps://host04.acme.com:636

我想把它放在 HashiCorp Vault 中,但是当我添加下一个 ldap.urls 键时,它会覆盖前一个(实际上是键)。

如何在 HashiCorp Vault 中添加 url 列表作为 ldap.urls 下的值?

【问题讨论】:

    标签: spring-boot ldap hashicorp-vault spring-ldap spring-vault


    【解决方案1】:

    我看,那个

    ldap.urls.0=ldaps://host01.acme.com:636
    ldap.urls.1=ldaps://host02.acme.com:636
    ldap.urls.2=ldaps://host03.acme.com:636
    ldap.urls.3=ldaps://host04.acme.com:636
    

    有效。

    【讨论】:

      猜你喜欢
      • 2019-07-20
      • 2021-05-07
      • 2017-01-20
      • 2021-04-18
      • 1970-01-01
      • 1970-01-01
      • 2018-08-01
      • 2020-10-26
      • 2022-08-11
      相关资源
      最近更新 更多