Register User through CLI

When you register a user through the CLI command (register-user), you get a link to set their password. Is there a limit to how long that link lasts and is there a way to change that length? Also, how is their default AWS region decided and can we change that when we register them?

1 Like

Hi @ineedqshelp - There is NO specific time duration mentioned in the QuickSight API documentation, i believe it should valid for the same time as the user is created in UI . The exact expiration time, we can check with QuickSight team. I do not think you can change the time period, possibly this is something we can request as a feature request as well. The default region will be the region that you set it up during your configuration of aws credentials… It should take the region from credential file.

hi @Koushik_Muthanna @Max - Do you know what is the expiration time period for register user url and can it be extended ? Please advise.

Regards - Sanjeeb

1 Like

The link expires after 7 days.

2 Likes

Thanks @David_Wong , good info, is there way we can increase the expire period?

Regards - Sanjeeb

1 Like

@Sanjeeb2022 I don’t believe you can change that. When it expires, you have to click on the “Resend invitation” link on the UI to resend it.

2 Likes

Thanks @David_Wong , I am also expecting the same.
Hi @ineedqshelp - Hope you got all your answers.

  1. The registered URLs are valid for 7 days and you can not change the expire time, thanks to @David_Wong
  2. The default region will be the region that you set it up during your configuration of aws credentials… It should take the region from credential file.

Regards - Sanjeeb

2 Likes

There’s a different link that appears when you run it through the CLI vs the UI, it’s just a link where you set your password, it’s not an invitation. But I assume this also only lasts 7 days?

2 Likes

Hi @ineedqshelp - Yes you are correct, since there is NO information in the API documentation, it should use 7 days default option.

Regards - Sanjeeb

2 Likes