@Sylvain RICHARD
Interesting. I agree that, x-l7-passphrase has no impact on transporting the internal user's password from one gateway to another. Neither the cluster passphrase has any impact on this.
Fact is that user must be in some role for Policy Manager connectivity.
For the same reason, we should consider exporting the user along with his roles information. Please do consider exporting his roles like below:
query roleByName($name: String!) {
roleByName(name: $name) {
goid
name
checksum
roleType
description
tag
replaceAssignees
userAssignees {
name
login
subjectDn
providerName
providerType
}
groupAssignees {
name
subjectDn
providerName
providerType
}
}
}
I'm sure, you would be able to login after getting his roles into the target.
NOTE: Dropping the user will not clear the user role assignments. Reintroducing the user with the same login will inherit the previous assignments automatically.