Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

madsem's avatar

Forge AWS are AWS credentials saved on server and where?

Need to install AWS cli on the server, AWS cli requires the credentials and usually those are saved under ~/.aws on EC2 servers.

But forge doesn't have a directory like that and whenever my script tries to set everything up I get an error: fatal error: Unable to locate credentials

0 likes
2 replies
madsem's avatar

Hey thanks :) But how does that help with Laravel Forge? The problem is that I'm trying to automate the installation process, wasn't clear enough there when i wrote the post.

So there is no location where laravel Forge saves the credentials on the servers? And the secrets manager seems to be just a way to manage the secrets but not install them on servers or?

Please or to participate in this conversation.