Create users in SFTP with Azure container instances

Fernando Casas Osorio 1 Reputation point
2020-08-21T01:32:32.06+00:00

I have created an SFTP with these instructions AA8a7n0 and works perfect but I have not been able to create more users; I've seen the documentation at AA99u1y but really I don't know how to use it.

Can you help me please?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,833 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 34,691 Reputation points Microsoft Employee
    2020-08-21T18:34:05.133+00:00

    @Fernando Casas Osorio
    It appears that this Azure template was designed to create a single user and mount that user to a single directory in Azure Files. You would need to modify the template if you wanted to create multiple users or create the container instance outside the template. Looking at the container it creates, you can see it creates the user using the environment variable SFTP_USERS. It looks like you could create this container outside the template and set multiple users, however the atmoz documentation is not clear how to set it with multiple users. I would reach-out to see how this can be accomplished on github.

    Once you know how to set multiple users with SFTP_USERS you could manually launch a container instance and setup the necessary Azure Files mounts. If you do figure this out let me know and I am happy to give it a shot from my side.

    ---------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.