Skip to main content
Delphix

How to Manage Multiple Public Keys for Passwordless User Authentication on a Delphix Engine (KBA5897)

 

 

KBA

KBA# 5897

Applicable Delphix Versions

This feature is only available for Delphix versions 5.3.2.0 and later

 
 
 
Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases
6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0

5.3

5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0

How to Add Multiple Keys

Configuring multiple public keys for passwordless authentication can only be done via CLI.

In the following example, two public keys are being added for the admin user (shown below as redactedkey1 and redactedkey2).

DelphixEngine> /user; select admin
DelphixEngine user 'admin'> update
DelphixEngine user 'admin' update *> edit publicKey
DelphixEngine user 'admin' update publicKey *> set 0="ssh-rsa redactedkey1"
DelphixEngine user 'admin' update publicKey *> set 1="ssh-rsa redactedkey2"
DelphixEngine user 'admin' update publicKey *> commit

Two public keys will now be listed when the user properties are listed which will be comma delimited (shown below as <redactedkey1> and <redactedkey2>).

DelphixEngine user 'admin'> ls
Properties
    type: User
    name: admin
    apiUser: true
    emailAddress: <redacted>
    firstName: (unset)
    homePhoneNumber: (unset)
    lastName: (unset)
    locale: en-US
    mobilePhoneNumber: (unset)
    passwordUpdateRequest: NONE
    principal: 998ed4d621742d0c2d85ed84173db569afa194d4597686cae947324aa58ab4bb
    publicKey: <redactedkey1>,<redactedkey2>
    sessionTimeout: 30min

These keys can be discretely managed, removed, or edited through the same update interface.

DelphixEngine> /user; select admin
DelphixEngine user 'admin'> update
DelphixEngine user 'admin' update *> edit publicKey
DelphixEngine user 'admin' update publicKey *> unset 1
DelphixEngine user 'admin' update publicKey *> commit

 

Related Articles

The following articles may provide more information or related information to this article: