nais / naisd

nais deployment daemon
https://nais.io
MIT License
27 stars 10 forks source link

LDAP resource #51

Closed davidsteinsland closed 6 years ago

davidsteinsland commented 7 years ago

When nais fetches a LDAP resource from Fasit only url, username and password are set, as these are the only properties in the Fasit response:

{
  "type": "ldap",
  "alias": "ldap",
  "properties": {
    "url": "ldaps://ldapgw.test.local",
    "username": "serviceUsername"
  },
  "secrets": {
    "password": {
      "ref": "https://fasit.adeo.no/api/v2/secrets/123456789"
    }
  }
}

Values such as basedn, domain, user.basedn and serviceuser.basedn are handled manually by the maven aura:deploy plugin:


How should nais handle these manual properties?

davidsteinsland commented 6 years ago

Closing as the LDAP resource in Fasit have been extended to contain the values.