Closed davidsteinsland closed 6 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:
url
username
password
{ "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:
basedn
domain
user.basedn
serviceuser.basedn
aura:deploy
TEST.LOCAL
dc=test,dc=local
,ou=NAV,ou=BusinessUnits
,ou=ServiceAccounts
How should nais handle these manual properties?
Closing as the LDAP resource in Fasit have been extended to contain the values.
When nais fetches a LDAP resource from Fasit only
url
,username
andpassword
are set, as these are the only properties in the Fasit response:Values such as
basedn
,domain
,user.basedn
andserviceuser.basedn
are handled manually by the mavenaura:deploy
plugin:domain
will be the uppercased hostname of the LDAP url,TEST.LOCAL
basedn
uses the hostname and createsdc=test,dc=local
user.basedn
reusesbasedn
and appends,ou=NAV,ou=BusinessUnits
serviceuser.basedn
reusesbasedn
and appends,ou=ServiceAccounts
How should nais handle these manual properties?