Made Service Account creation consistent with mc (#2801)
This commit is contained in:
@@ -69,8 +69,8 @@ const AddServiceAccount = ({ classes }: IAddServiceAccountProps) => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
const [addSending, setAddSending] = useState<boolean>(false);
|
||||
const [accessKey, setAccessKey] = useState<string>(getRandomString(16));
|
||||
const [secretKey, setSecretKey] = useState<string>(getRandomString(32));
|
||||
const [accessKey, setAccessKey] = useState<string>(getRandomString(20));
|
||||
const [secretKey, setSecretKey] = useState<string>(getRandomString(40));
|
||||
const [isRestrictedByPolicy, setIsRestrictedByPolicy] =
|
||||
useState<boolean>(false);
|
||||
const [newServiceAccount, setNewServiceAccount] =
|
||||
|
||||
@@ -73,8 +73,8 @@ const AddServiceAccount = ({ classes }: IAddServiceAccountProps) => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
const [addSending, setAddSending] = useState<boolean>(false);
|
||||
const [accessKey, setAccessKey] = useState<string>(getRandomString(16));
|
||||
const [secretKey, setSecretKey] = useState<string>(getRandomString(32));
|
||||
const [accessKey, setAccessKey] = useState<string>(getRandomString(20));
|
||||
const [secretKey, setSecretKey] = useState<string>(getRandomString(40));
|
||||
const [isRestrictedByPolicy, setIsRestrictedByPolicy] =
|
||||
useState<boolean>(false);
|
||||
const [newServiceAccount, setNewServiceAccount] =
|
||||
|
||||
Reference in New Issue
Block a user