Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_cloudfront_private_key_pem cannot be multi-line #6

Open
HelloGrayson opened this issue Feb 20, 2012 · 2 comments
Open

aws_cloudfront_private_key_pem cannot be multi-line #6

HelloGrayson opened this issue Feb 20, 2012 · 2 comments

Comments

@HelloGrayson
Copy link

How do you define the aws_cloudfront_private_key_pem parameter since parameters.ini cannot be multi-lined? I think that yaml files might have support like so possibly:

aws_cloudfront_private_key_pem: |
    same param
    same param

Anyways we should clear that up in the document. And I'm stuck :)

@mbadolato
Copy link
Contributor

Good question! I don't have an answer for you at the moment, as I have not yet worked with Cloudfront. Is it possible that you could remove the comment lines (begin/end) portions of the rsa key, then remove the line breaks and just have the key as one line of text? I have no idea if the line breaks are actually required or not, or if that's just a formatting convetion

@HelloGrayson
Copy link
Author

It looks like wrapping the entry in double quotes makes the variable correct, except that newlines seem to be ignored.

// in a controller
print_r($this->container->getParameter('aws_cloudfront_private_key_pem'));
exit;

Do you know if a non-newline'd pem is acceptable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants