Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about ebextensions

Read more about ebextensions

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - ebextensions

.ebextensions - How to add auth credentials to the composer config?

In my Application I have a composer package which requires authorization credentials. It's possible to add the credentials in the composer config via the command: composer.phar config http-basic.##PAC...
test-img

Mo.

amazon-web-services

composer-php

aws-codepipeline

ebextensions

Votes: 0

Answers: 1

Latest Answer

I solved it with using a .platform prebuild hook. Created a file: .platform/hooks/prebuild/composer-config-auth.sh #!/usr/bin/env bash composer.phar config http-basic.##PACKAGE_NAME## ${ENV_USERNAME} ...
test-img

Mo.

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved