cancel
Showing results for 
Search instead for 
Did you mean: 

Any Option to remove password confirmation prompt -Neo Tool set

Former Member
0 Kudos

Hi,

Just curios to know if there is any option to avoid the password confirmation ask while creating a new user and setting new password with neo sdk.

neo set-password -a account-name -b application-name -t tenant-name -h host-URL -u user-id --alias-name CCN_USER_PASSWORD

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I think you are mistaken with regards to user management in SCP.

SCP doesn't have a user persistence store, therefore you are not really creating users with the mentioned neo command.

Instead SCP delegates user management to an Identity Provider such as SAP ID Service and trusts the identified user by SAML protocol.

The command line "set-password" and related commands "list-passwords", "delete-password" are used to store hashed values in a specific application. This would allow you to retrieve the stored password in your code so the application doesn't need to be hard-coded with passwords (when accessing services that require authorization and do not rely on any of the destination options available). Example: Suppose you are accessing an FTP service via a Java Application and you need to supply it with user/password (as the site is not anonymous). One could hard-code the username and password there, but it is not a very "elegant" way of doing it and you would eventually need to change the password. In such cases you would be required to re-deploy the application. Instead, you have the option to store the password in a safe and secure manner for a specific app with the password API. Once you have set a password with an alias, you can retrieve the password again inside your code with the alias defined. The documentation contains the examples to do that.

The password confirmation you are talking about is not optional, as the neo command line tool needs to check for human errors.

If you want to do it without any prompts, check the method setPassword mentioned documentation.

Best regards,
Ivan