How to get drone personal access token in an automated way


I have a requirement to get/fetch the drone personal access token token in an automated way, as i will be performing some operations using drone cli. I have checked the drone API/CLI ref, but didn’t find anything for this specific use case.

Please let me if there is any way/workaround through which i can get it. Also i have checked drone personal access token is static(i mean doesn’t change) and if this is correct this would be an alternative for my use case.

Please share your thoughts.


1 Like

Hi - please update me, if this can be done.

@ bradrydzewski could you please share some info around this.

Thanks in advance.